package com.zxq.ruoyi.network.tcp.handler.register;

import com.zxq.factory.annotate.DecoderField;
import com.zxq.factory.annotate.Frame;
import com.zxq.factory.enums.EField;
import com.zxq.factory.enums.ETrimMethod;
import lombok.Data;

@Frame
@Data
public class SFRegisterFrame {

    @DecoderField(field = EField.Int,param = 1,sequence = 1)
    Integer head;

    @DecoderField(field = EField.Hex,method = ETrimMethod.Tail,param = 1,sequence = 2)
    String devId;

    @DecoderField(field = EField.Int,param = 1,sequence = 3)
    Integer tail;

}
